package com.zhanglinwei.test.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName(value = "codefy_tools", autoResultMap = true)
public class ToolsDO {

    /**
     * 工具ID
     */
    @TableId(value = "tool_id", type = IdType.AUTO)
    private Long toolId;

    /**
     * 菜单ID
     */
    private Long menuId;
    private String hidden;
    private String iconColor;
    private Integer sorted;

    /**
     * 编码
     */
    @TableField("code")
    private String code;


    /**
     * 标题
     */
    @TableField("title")
    private String title;


    /**
     * 图标
     */
    @TableField("icon")
    private String icon;


    /**
     * 描述
     */
    @TableField("description")
    private String description;


}
